package com.hhf.riceshopping.ware.feign;

import com.hhf.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("riceshopping-order")
public interface OrderFeignService {

    //返回订单的状态
    //按照订单号获取订单状态信息
    @GetMapping("/order/order/status/{orderSn}")
     R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
